package com.example.personalizededucationsystem.dto.dto;

import com.example.personalizededucationsystem.model.User;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserInfoDto {
    private String nickname;
    private String avatar;

    public UserInfoDto(User user) {
        this.nickname = user.getNickname();
        this.avatar = user.getAvatar();
    }
}
